package com.gigi.model.enums;

/**
 * 性别枚举
 */
public enum GenderEnum {
    MALE(0, "0", "男"),
    FEMALE(1, "1", "女"),
    OTHER(2, "2", "保密");

    private Integer code;
    private String codeStr;
    private String desc;

    GenderEnum(Integer code, String codeStr, String desc) {
        this.code = code;
        this.codeStr = codeStr;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public String getCodeStr() {
        return codeStr;
    }
}
